package cn.tedu.eguser1.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Pattern;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class useradd
{
    @Schema(description = "用户名", required = true)
    @Size(min = 2, max = 10, message = "用户名长度须在2-10间")
    private String username;
    private String password;
    private String nickname;

}
